﻿using ITTestingSystem.BusinessLogic.Enums;

namespace ITTestingSystem.Extentions.Modules.AuthenticationProvider
{
    /// <summary>
    /// 
    /// </summary>
    /// 
    public interface IAuthenticationProvider
    {
        /// <summary>
        /// 
        /// </summary>
        /// 
        /// <param name="username">
        /// 
        /// </param>
        /// <param name="password">
        /// 
        /// </param>
        /// <param name="isPersistent">
        /// 
        /// </param>
        /// <returns></returns>
        /// 
        AuthenticationResult Authenticate(string username, string password, bool isPersistent);

        void SignOut();
    }
}
